Guide to remote development
Although plugins are normally run on the same device as smartCORE, it is possible to run plugins remotely over the network. This allows you to iterate plugins quickly without having to transfer each version individually to your smartCORE.
All you have to do is set the "localhost" flag to "true" in your remote module configuration. In this folder you will find a sample configuration file and a sample program. Specify the address of your device using the command line parameter "--addr".
If everything works, you should find a "hello_world" channel with the value "true" in your smartCORE.
{
"plugins": [
"remote"
],
"modules": [
{
"factory": "remote",
"module": "remote",
"config": {
"port": 61616,
"localhost": false,
"producerChannels": [{
"name": "hello_world",
"dataType": "bool"
}]
}
}
]
}